Skip to content

build and push Docker Desktop module image on release#13726

Merged
ndeloof merged 1 commit intomainfrom
desktop-module-workflow
Apr 10, 2026
Merged

build and push Docker Desktop module image on release#13726
ndeloof merged 1 commit intomainfrom
desktop-module-workflow

Conversation

@glours
Copy link
Copy Markdown
Contributor

@glours glours commented Apr 10, 2026

What I did
Add workflow to build and push docker/compose-desktop-module image to Docker Hub on version tag push, used by Docker Desktop's update system to deliver the Compose CLI plugin.

Related issue
N/A

(not mandatory) A picture of a cute animal, if possible in relation to what you did
image

@glours glours self-assigned this Apr 10, 2026
@glours glours requested a review from a team as a code owner April 10, 2026 13:24
@glours glours requested review from Copilot, crazy-max and ndeloof April 10, 2026 13:24
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a release-time build/publish path for a Docker Desktop “module” image that packages the Compose CLI plugin binary plus metadata, so Docker Desktop’s update system can fetch the correct plugin per platform from Docker Hub.

Changes:

  • Added new Dockerfile stages to assemble a module image containing /cli-plugins/compose/$TARGETOS/*, module metadata, and LICENSE.
  • Added a new docker-bake.hcl target to build/push the multi-platform module image (image-module-cross).
  • Updated the merge workflow to publish docker/compose-desktop-module on version tag pushes.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
Dockerfile Adds module-releaser and module stages to package the plugin + metadata into a scratch image.
docker-bake.hcl Introduces image-module-cross bake target pointing at the new module stage with selected platforms.
desktop-module/module-metadata.json Adds module metadata consumed by Docker Desktop’s update/module system.
.github/workflows/merge.yml Adds tag-only jobs to build and push docker/compose-desktop-module using the shared bake workflow.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@glours glours force-pushed the desktop-module-workflow branch from 075f603 to 506dff5 Compare April 10, 2026 13:43
crazy-max
crazy-max previously approved these changes Apr 10, 2026
Add workflow to build and push docker/compose-desktop-module image
  to Docker Hub on version tag push, used by Docker Desktop's update
  system to deliver the Compose CLI plugin.

Signed-off-by: Guillaume Lours <glours@users.noreply.github.com>
@ndeloof ndeloof merged commit d518da2 into main Apr 10, 2026
42 checks passed
@ndeloof ndeloof deleted the desktop-module-workflow branch April 10, 2026 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants